package com.tedu.DbDemo.pojo;
//对应category表

import java.util.List;

public class Category {
	Integer categoryId;//对应category_id列
	String categoryName;//对应category_name列
	//一个分类下有多个商品
	List<Item> itemList;//体现出一对多关系
	//set(),get()
	public Integer getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}
	public String getCategoryName() {
		return categoryName;
	}
	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
	public List<Item> getItemList() {
		return itemList;
	}
	public void setItemList(List<Item> itemList) {
		this.itemList = itemList;
	}
	

}
